package com.ruanjian.api.service.impl;

import com.ruanjian.api.bean.Person;
import com.ruanjian.api.mapper.PersonMapper;
import com.ruanjian.api.service.IPersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author shkstart
 * @create 2022-11-30 9:33
 */
@Service
public class PersonServiceImpl implements IPersonService {

    @Autowired
    PersonMapper personMapper;

    @Override
    public int insertSelective(Person record) {
        return personMapper.insertSelective(record);
    }

    @Override
    public List<Person> selectSelective(Person record) {
        return personMapper.selectSelective(record);
    }
}
